
cmake_minimum_required(VERSION 3.5 FATAL_ERROR)

project(intro LANGUAGES C)

include_directories(../common)

set(COMPILE_ALL OFF)

list(APPEND _sources
    ../common/error.c
    ../common/pathalloc.c
    ../common/prexit.c
    ../common/tellwait.c
)

if (COMPILE_ALL)
else()
add_executable(orghan3 01_orghan3.c ${_sources})
endif()
